#include "SumDays.h"
#include "isLeapYear.h"

int SumDays(int year)
{
	int i = 1990;
	int days = 0;
	for(i;i < year;++i)
	{
		days += (isLeapYear(i) + 365);
	}
	return ((days % 7) + 1);
}

